﻿using System.Collections.Generic;
using System.ServiceModel;

namespace EMan.Common.EnterpriseStructure
{
  [ServiceContract]
  public interface IEnterpriseStructure
  {
    [OperationContract]
    IEnumerable< Job > GetAllJobs();

    [OperationContract]
    Changeset< Job > UpdateJobs( Changeset< Job > changeset );

    [OperationContract]
    IList< Department > GetAllDepartments();

    [OperationContract]
    StructureChangeset UpdateStructure( StructureChangeset changeset );
  }
}